package com.xwb.domain;
//5.比赛成绩接口 ：
//        {
//        队伍号：
//        队伍名：
//        初赛成绩： preliminary_score
//        决赛成绩： final_score
//        实时排名：
//        }

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("result")
public class Score {
//    private int teamNumber;
//    private String teamName;
//    private double preliminaryScore;
//    private double finalScore;

    @TableId
    private Integer teamNumber;
    @TableField("team_name")
    private String teamName;
    @TableField("preliminary_score")
    private double preliminaryScore;
    @TableField("final_score")
    private double finalScore;

    @Override
    public String toString() {
        return "Score{" +
                "teamNumber=" + teamNumber +
                ", teamName='" + teamName + '\'' +
                ", preliminaryScore=" + preliminaryScore +
                ", finalScore=" + finalScore +
                '}';
    }
}
